<?php
/*
 * @Created by: wangchengcheng
 * @Author: wangchengcheng
 * @Date: 2020-01-01 20:32:34
 * @LastEditors  : wangchengcheng
 * @LastEditTime : 2020-01-12 08:54:47
 */

return [

    /*
    |--------------------------------------------------------------------------
    | Third Party Services
    |--------------------------------------------------------------------------
    |
    | This file is for storing the credentials for third party services such
    | as Mailgun, Postmark, AWS and more. This file provides the de facto
    | location for this type of information, allowing packages to have
    | a conventional file to locate the various service credentials.
    |
    */

    'mailgun' => [
        'domain'    => env('MAILGUN_DOMAIN'),
        'secret'    => env('MAILGUN_SECRET'),
        'endpoint'  => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
    ],

    'postmark' => [
        'token'    => env('POSTMARK_TOKEN'),
    ],

    'ses' => [
        'key'      => env('AWS_ACCESS_KEY_ID'),
        'secret'   => env('AWS_SECRET_ACCESS_KEY'),
        'region'   => env('AWS_DEFAULT_REGION', 'us-east-1'),
    ],

    /**
     * 百度审核
     */
    'baidu' => [
        'appid'     => env('BAIDU_APPID'),
        'appkey'    => env('BAIDU_APPKEY'),
        'secret'    => env('BAIDU_SECRET'),
    ],

    'qq' => [
        'client_id'     => env('QQ_KEY'),
        'client_secret' => env('QQ_SECRET'),
        'redirect'      => env('APP_URL').'/auth/oauth/handleProviderCallback/qq'
    ],

    'github' => [
        'client_id' => env('GITHUB_KEY'),
        'client_secret' => env('GITHUB_SECRET'),
        'redirect' => env('APP_URL'). '/auth/oauth/handleProviderCallback/github'
    ],

    'weibo' => [
        'client_id' => env('WEIBO_KEY'),
        'client_secret' => env('WEIBO_SECRET'),
        'redirect' => env('APP_URL') . '/auth/oauth/handleProviderCallback/weibo',
    ],

];
